// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import MuseUI from 'muse-ui'
import Toast from 'muse-ui-toast';
import 'muse-ui/dist/muse-ui.css'
import myAxios from '@/ajax/myAxios.js'
import wcf from '@/ajax/WCF.js'
import global from '@/ajax/global.js'
import Clipboard from 'clipboard'
import VueClipboard from 'vue-clipboard2'
import TopNav from '@/components/nav/topNav.vue'
import 'muse-ui-message/dist/muse-ui-message.css';
import Message from 'muse-ui-message';
//import Helpers from 'muse-ui/lib/Helpers';
//import { DatePicker } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';



//Vue.component(DatePicker.name, DatePicker);
Vue.use(Message);
//Vue.use(Helpers);
Vue.component('TopNav', TopNav)
//Muse UI组件
Vue.use(MuseUI)
Vue.use(Toast)
Vue.use(VueClipboard)
//封装的axios
Vue.prototype.axios = myAxios;
Vue.prototype.wcf = wcf;
Vue.prototype.global = global;
//Vue.prototype.post = post;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
